$OpenBSD: patch-krfb_libvncserver_rfb_h,v 1.3 2008/08/27 15:21:50 espie Exp $
--- krfb/libvncserver/rfb.h.orig	Tue Aug 19 20:13:37 2008
+++ krfb/libvncserver/rfb.h	Wed Aug 27 15:55:32 2008
@@ -69,7 +69,7 @@ typedef unsigned long KeySym;
 
 #ifdef __linux__
 #include <endian.h>
-#elif defined(__APPLE__) || defined(__FreeBSD__)
+#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
 #include <sys/types.h>
 #include <machine/endian.h>
 #ifndef _BYTE_ORDER
